package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Operatingrecord implements Serializable {
    private String orno;

    private String ano;

    private String oroperatiottime;

    private String ordescribe;

    private Integer ornostate;

    private static final long serialVersionUID = 1L;

    public String getOrno() {
        return orno;
    }

    public void setOrno(String orno) {
        this.orno = orno;
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public String getOroperatiottime() {
        return oroperatiottime;
    }

    public void setOroperatiottime(String oroperatiottime) {
        this.oroperatiottime = oroperatiottime;
    }

    public String getOrdescribe() {
        return ordescribe;
    }

    public void setOrdescribe(String ordescribe) {
        this.ordescribe = ordescribe;
    }

    public Integer getOrnostate() {
        return ornostate;
    }

    public void setOrnostate(Integer ornostate) {
        this.ornostate = ornostate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Operatingrecord other = (Operatingrecord) that;
        return (this.getOrno() == null ? other.getOrno() == null : this.getOrno().equals(other.getOrno()))
            && (this.getAno() == null ? other.getAno() == null : this.getAno().equals(other.getAno()))
            && (this.getOroperatiottime() == null ? other.getOroperatiottime() == null : this.getOroperatiottime().equals(other.getOroperatiottime()))
            && (this.getOrdescribe() == null ? other.getOrdescribe() == null : this.getOrdescribe().equals(other.getOrdescribe()))
            && (this.getOrnostate() == null ? other.getOrnostate() == null : this.getOrnostate().equals(other.getOrnostate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOrno() == null) ? 0 : getOrno().hashCode());
        result = prime * result + ((getAno() == null) ? 0 : getAno().hashCode());
        result = prime * result + ((getOroperatiottime() == null) ? 0 : getOroperatiottime().hashCode());
        result = prime * result + ((getOrdescribe() == null) ? 0 : getOrdescribe().hashCode());
        result = prime * result + ((getOrnostate() == null) ? 0 : getOrnostate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orno=").append(orno);
        sb.append(", ano=").append(ano);
        sb.append(", oroperatiottime=").append(oroperatiottime);
        sb.append(", ordescribe=").append(ordescribe);
        sb.append(", ornostate=").append(ornostate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}